package com.yuanfeng.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 首页推荐商品表
 * @TableName goods_rec_index
 */
@TableName(value ="goods_rec_index")
@Data
public class GoodsRecIndexEntity implements Serializable {
    /**
     * 套餐ID
     */
    @TableId(type = IdType.AUTO)
    private Integer recGoodsId;

    /**
     * 热门商品commonid
     */
    private String commonId;

    /**
     * 创建时间
     */
    private String publishTime;

    /**
     * 推荐状态：1正常 0关闭，暂时不用，便于以后扩充
     */
    private Boolean packageStatus;

    /**
     * 终端选择，1pc，2移动端
     */
    private Integer terminalType;

    /**
     * 描述
     */
    private String descrip;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}